20250628_070503.726 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.727 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.728 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.728 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjY0MjJlNTM1LWU0NTctNDQ3My1iYTNmLTFiNWJlY2I4Mzg4MyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MjhaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.728 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6422e535-e457-4473-ba3f-1b5becb83883", "timestamp": "2025-06-28T07:05:03.728Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.729 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6422e535-e457-4473-ba3f-1b5becb83883", "timestamp": "2025-06-28T07:05:03.728Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.729 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.729 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "6422e535-e457-4473-ba3f-1b5becb83883", "timestamp": "2025-06-28T07:05:03.728Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.730 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250628_070503.730 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_070503.730 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiZjRjNzczM2ItNTQyOC00YzE5LTg2MGQtOTY2MmNlMjdkYzc1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjczMFoifQ==", "Verb": "set"}}] 20250628_070503.731 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.731 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "f4c7733b-5428-4c19-860d-9662ce27dc75", "timestamp": "2025-06-28T07:05:03.730Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.731 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250628_070503.731 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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "f4c7733b-5428-4c19-860d-9662ce27dc75", "timestamp": "2025-06-28T07:05:03.730Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20250628_070503.731 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.732 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.740 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250628_070503.741 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.741 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.741 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.742 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.742 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.749 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.749 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250628_070503.750 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.750 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250628_070503.750 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.754 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.755 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.756 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.756 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjk4N2YzZTJjLTU3MDQtNDVlNy05MDk2LTFmMzNmM2ZkMjFhMyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43NTZaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.756 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "987f3e2c-5704-45e7-9096-1f33f3fd21a3", "timestamp": "2025-06-28T07:05:03.756Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.757 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "987f3e2c-5704-45e7-9096-1f33f3fd21a3", "timestamp": "2025-06-28T07:05:03.756Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.757 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.757 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "987f3e2c-5704-45e7-9096-1f33f3fd21a3", "timestamp": "2025-06-28T07:05:03.756Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.758 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"}}] 20250628_070503.758 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.758 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.758 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "987f3e2c-5704-45e7-9096-1f33f3fd21a3", "timestamp": "2025-06-28T07:05:03.756Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.759 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.773 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.774 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.775 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.775 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjgwOWQzOTk0LTc0OWItNDlmMS1iMDkyLTU5ZDJmNzc1M2MzNyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43NzVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.775 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "809d3994-749b-49f1-b092-59d2f7753c37", "timestamp": "2025-06-28T07:05:03.775Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.776 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "809d3994-749b-49f1-b092-59d2f7753c37", "timestamp": "2025-06-28T07:05:03.775Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.776 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.776 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.786 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.787 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.787 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.787 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImUyOTUwODQ1LWUzYzgtNDUzNi04YmEyLWQ1MjM3MmRiMGYxZiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43ODdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.788 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e2950845-e3c8-4536-8ba2-d52372db0f1f", "timestamp": "2025-06-28T07:05:03.787Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.788 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e2950845-e3c8-4536-8ba2-d52372db0f1f", "timestamp": "2025-06-28T07:05:03.787Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.788 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.789 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070503.789 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070503.789 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e2950845-e3c8-4536-8ba2-d52372db0f1f", "timestamp": "2025-06-28T07:05:03.787Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.789 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070503.790 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070503.790 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDM1ZGU2Y2MtNjEwYy00NzdjLTg5NGItYWQyZDUzYWY2NmEzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjc5MFoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20250628_070503.790 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.791 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 4, "update_id": "d35de6cc-610c-477c-894b-ad2d53af66a3", "timestamp": "2025-06-28T07:05:03.790Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.791 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250628_070503.791 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070503.791 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.792 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.792 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.792 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.792 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070503.792 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.807 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250628_070503.808 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.808 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"}}] 20250628_070503.808 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.808 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.809 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.809 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.815 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.816 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.816 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.816 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.816 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250628_070503.816 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250628_070503.816 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.821 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.822 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.822 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.823 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjM3ZWVmMTlkLTE5MzktNDU1Zi1iNjc4LWE4NjNkMzQ0YzMzZSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy44MjNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.823 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "37eef19d-1939-455f-b678-a863d344c33e", "timestamp": "2025-06-28T07:05:03.823Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.823 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "37eef19d-1939-455f-b678-a863d344c33e", "timestamp": "2025-06-28T07:05:03.823Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.824 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.824 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "37eef19d-1939-455f-b678-a863d344c33e", "timestamp": "2025-06-28T07:05:03.823Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.824 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250628_070503.825 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_070503.825 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNWIzZmNiNjQtN2YzNi00NzlhLWJjZTUtYzdhM2YwMWEwNWFiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjgyNVoifQ==", "Verb": "set"}}] 20250628_070503.825 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.826 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "5b3fcb64-7f36-479a-bce5-c7a3f01a05ab", "timestamp": "2025-06-28T07:05:03.825Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.826 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070503.826 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070503.827 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "5b3fcb64-7f36-479a-bce5-c7a3f01a05ab", "timestamp": "2025-06-28T07:05:03.825Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.827 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070503.827 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070503.827 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiZjAxOTNkYWUtMzM1Yy00NDMwLTkzOWItY2FmYzdkNmFlNTFhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjgyN1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20250628_070503.828 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.828 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 2, "update_id": "f0193dae-335c-4430-939b-cafc7d6ae51a", "timestamp": "2025-06-28T07:05:03.827Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.828 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250628_070503.828 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070503.829 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.829 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.847 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.847 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) 20250628_070503.847 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) 20250628_070503.847 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.852 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.853 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.853 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.853 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjdkYTNjODM5LTk2OTktNDI1Yi05NTNmLTVlYjU2OGU1NzcxNSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy44NTNaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.854 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7da3c839-9699-425b-953f-5eb568e57715", "timestamp": "2025-06-28T07:05:03.853Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.854 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7da3c839-9699-425b-953f-5eb568e57715", "timestamp": "2025-06-28T07:05:03.853Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.854 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.855 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7da3c839-9699-425b-953f-5eb568e57715", "timestamp": "2025-06-28T07:05:03.853Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.855 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"}}] 20250628_070503.855 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.855 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.856 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7da3c839-9699-425b-953f-5eb568e57715", "timestamp": "2025-06-28T07:05:03.853Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_delete", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.856 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.869 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.869 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) 20250628_070503.869 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) 20250628_070503.869 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.874 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.875 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.875 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.875 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImUzMzQxZmNiLWJlOTktNDg2Ny04MWQ0LWY5MDI0MDQyYjhiMSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy44NzVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.876 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e3341fcb-be99-4867-81d4-f9024042b8b1", "timestamp": "2025-06-28T07:05:03.875Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.876 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e3341fcb-be99-4867-81d4-f9024042b8b1", "timestamp": "2025-06-28T07:05:03.875Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.876 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.876 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070503.876 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070503.877 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "e3341fcb-be99-4867-81d4-f9024042b8b1", "timestamp": "2025-06-28T07:05:03.875Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.877 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070503.877 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070503.878 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTI3YTY5MWMtNjcwNC00ZDMzLWE0YmQtYTcyNGEwZjdmZDBjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjg3N1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20250628_070503.878 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.879 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 4, "update_id": "e27a691c-6704-4d33-a4bd-a724a0f7fd0c", "timestamp": "2025-06-28T07:05:03.877Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.879 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_070503.879 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070503.879 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.879 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.880 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.880 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.880 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070503.880 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.896 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.897 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.897 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.897 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogImY4MWRjMjg5LTljZDQtNDVkNS1hZTcxLTY2MGVhMDhlMTVjMiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy44OTdaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.897 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "f81dc289-9cd4-45d5-ae71-660ea08e15c2", "timestamp": "2025-06-28T07:05:03.897Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.898 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "f81dc289-9cd4-45d5-ae71-660ea08e15c2", "timestamp": "2025-06-28T07:05:03.897Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.898 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.898 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.898 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.898 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070503.899 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070503.899 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.899 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.899 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250628_070503.899 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250628_070503.899 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.909 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.910 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.910 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.911 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjFjNTNiYmRkLTY3MTUtNDZmOS1iMzVkLWI1MjljNmZhNzI0YyIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy45MTBaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.911 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "1c53bbdd-6715-46f9-b35d-b529c6fa724c", "timestamp": "2025-06-28T07:05:03.910Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.911 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "1c53bbdd-6715-46f9-b35d-b529c6fa724c", "timestamp": "2025-06-28T07:05:03.910Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.912 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.912 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.912 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}] 20250628_070503.913 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "1c53bbdd-6715-46f9-b35d-b529c6fa724c", "timestamp": "2025-06-28T07:05:03.910Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.913 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20250628_070503.913 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}} 20250628_070503.913 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2"}], "same": [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_3"}]} 20250628_070503.914 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "1c53bbdd-6715-46f9-b35d-b529c6fa724c", "timestamp": "2025-06-28T07:05:03.910Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.914 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "1c53bbdd-6715-46f9-b35d-b529c6fa724c", "timestamp": "2025-06-28T07:05:03.910Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.914 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.914 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.915 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.931 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250628_070503.932 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.932 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"}}] 20250628_070503.932 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.932 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.933 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.933 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.939 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 20250628_070503.940 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.944 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.945 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.945 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.945 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjMxZGFkOTU3LTI5NDQtNGEzYi05MzZhLWZlMDBlMTA1MTNhZSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy45NDVaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.946 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "31dad957-2944-4a3b-936a-fe00e10513ae", "timestamp": "2025-06-28T07:05:03.945Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.946 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "31dad957-2944-4a3b-936a-fe00e10513ae", "timestamp": "2025-06-28T07:05:03.945Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.946 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.946 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070503.946 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070503.947 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "31dad957-2944-4a3b-936a-fe00e10513ae", "timestamp": "2025-06-28T07:05:03.945Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.947 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070503.947 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070503.948 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTY3YjViMDUtMDNmMy00ZDc1LTgwM2ItODMzNTRlYzBlNjcwIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjk0N1oifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifX0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9fQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20250628_070503.948 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.949 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 4, "update_id": "a67b5b05-03f3-4d75-803b-83354ec0e670", "timestamp": "2025-06-28T07:05:03.947Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.949 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_070503.949 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"unexpected": "foo", "none": null}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070503.949 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": ["damaged config"], "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070503.949 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.949 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.950 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070503.950 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070503.950 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.967 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.968 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.969 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.969 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjI3MzIzYjE2LTkyZTUtNGM4Mi04ZGJiLWEwOWVkZDJjODVlMSIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowMy45NjlaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070503.969 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "27323b16-92e5-4c82-8dbb-a09edd2c85e1", "timestamp": "2025-06-28T07:05:03.969Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.970 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "27323b16-92e5-4c82-8dbb-a09edd2c85e1", "timestamp": "2025-06-28T07:05:03.969Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070503.970 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070503.970 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "27323b16-92e5-4c82-8dbb-a09edd2c85e1", "timestamp": "2025-06-28T07:05:03.969Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.970 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250628_070503.971 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_070503.971 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiYWQyZWM5ZGYtYmQ4Ny00MTZkLWJiM2YtMDE2NmJmZTA4ODc1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjAzLjk3MVoifQ==", "Verb": "set"}}] 20250628_070503.972 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.972 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "ad2ec9df-bd87-416d-bb3f-0166bfe08875", "timestamp": "2025-06-28T07:05:03.971Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.973 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "ad2ec9df-bd87-416d-bb3f-0166bfe08875", "timestamp": "2025-06-28T07:05:03.971Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.973 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250628_070503.973 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_070503.973 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "ad2ec9df-bd87-416d-bb3f-0166bfe08875", "timestamp": "2025-06-28T07:05:03.971Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.974 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250628_070503.974 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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "ad2ec9df-bd87-416d-bb3f-0166bfe08875", "timestamp": "2025-06-28T07:05:03.971Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}} 20250628_070503.974 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070503.974 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070503.992 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250628_070503.993 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.993 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"}}] 20250628_070503.993 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070503.993 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070503.994 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070503.994 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.001 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250628_070504.002 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.002 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250628_070504.002 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070504.003 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.003 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.003 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.011 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.012 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070504.012 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.012 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjAxY2YyODZmLTI3YTYtNGMyNC1iZmRjLTE4ZDE5ZDU4MDNiZiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowNC4wMTJaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070504.013 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "01cf286f-27a6-4c24-bfdc-18d19d5803bf", "timestamp": "2025-06-28T07:05:04.012Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.013 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "01cf286f-27a6-4c24-bfdc-18d19d5803bf", "timestamp": "2025-06-28T07:05:04.012Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070504.013 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070504.014 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070504.014 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070504.014 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "01cf286f-27a6-4c24-bfdc-18d19d5803bf", "timestamp": "2025-06-28T07:05:04.012Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.015 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070504.015 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070504.015 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmNmZWVmODUtYTg3MS00ZDZjLTlkYjctZmJmOTQzMTkwMGY5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjA0LjAxNVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}] 20250628_070504.016 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070504.016 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 4, "update_id": "fcfeef85-a871-4d6c-9db7-fbf9431900f9", "timestamp": "2025-06-28T07:05:04.015Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.016 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250628_070504.016 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070504.017 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070504.017 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070504.017 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070504.017 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250628_070504.017 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250628_070504.017 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.033 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.034 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070504.034 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.035 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", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAicG9saWNpZXNfY291bnQiOiA0LCAidXBkYXRlX2lkIjogIjdkMjE3M2E4LTk0ZDItNGExMi1iZmUxLTk0MWI4MTdmM2Y4MiIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0yOFQwNzowNTowNC4wMzRaIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMiIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwNzowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIn0=", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQxMDowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMS41IiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiNCJ9", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJjb25maWciOiB7InVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiJ9", "Verb": "set"}}] 20250628_070504.035 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7d2173a8-94d2-4a12-bfe1-941b817f3f82", "timestamp": "2025-06-28T07:05:04.034Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.035 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7d2173a8-94d2-4a12-bfe1-941b817f3f82", "timestamp": "2025-06-28T07:05:04.034Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}} 20250628_070504.036 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250628_070504.036 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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": {"config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyName": "monkeyed.Config_peach.1.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyName": "monkeyed.Config_both.4.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyName": "monkeyed.Config_multi.2.xml", "policyConfigMessage": "Config Retrieved! ", "property": null, "responseAttributes": {}, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "gathered", "policies_count": 4, "update_id": "7d2173a8-94d2-4a12-bfe1-941b817f3f82", "timestamp": "2025-06-28T07:05:04.034Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.036 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250628_070504.037 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250628_070504.037 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiOTlmZTQzNmUtZDUzZS00YjdmLWE0YTQtMDQ1M2FmMTZjODUzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjA0LjAzN1oifQ==", "Verb": "set"}}] 20250628_070504.037 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"} 20250628_070504.038 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "99fe436e-d53e-4b7f-a4a4-0453af16c853", "timestamp": "2025-06-28T07:05:04.037Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.038 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}} 20250628_070504.038 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250628_070504.038 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250628_070504.039 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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}}, "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_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 0, "update_id": "99fe436e-d53e-4b7f-a4a4-0453af16c853", "timestamp": "2025-06-28T07:05:04.037Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "updated_policy_id": "no_policy", "weather": "snow", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.039 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250628_070504.039 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250628_070504.040 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", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiM2M3MTJhYmItODI3NC00YjBkLWJhNTUtNTE4YjQ0M2M5MDBhIiwgInRpbWVzdGFtcCI6ICIyMDI1LTA2LTI4VDA3OjA1OjA0LjAzOVoifQ==", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJ0eXBlIjogIkpTT04iLCAiY29uZmlnIjogeyJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0yOFQwODowNTowMy43MDJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn19", "Verb": "set"}}] 20250628_070504.040 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.040 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "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", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "policies_event": {"action": "updated", "policies_count": 2, "update_id": "3c712abb-8274-4b0d-ba55-518b443c900a", "timestamp": "2025-06-28T07:05:04.039Z"}, "service_component_name": "unit_test_scn", "exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.041 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250628_070504.041 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250628_070504.041 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250628_070504.041 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.061 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250628_070504.061 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.061 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"}}] 20250628_070504.061 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070504.062 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.062 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}, "instance": {"relationships": [], "id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_multi"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}}, "instance": {"relationships": [], "id": "dcae_policies_empty_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {}}, "instance": {"relationships": [], "id": "dcae_policies_empty_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum", "policy_updated_ts": "2025-06-28T08:05:03.702Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}}, "instance": {"relationships": [], "id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit", "policy_updated_ts": "2025-06-28T10:05:03.702Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "instance": {"relationships": [], "id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet", "policy_updated_ts": "2025-06-28T11:05:03.702Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}}, "policy_id": "monkeyed.Config_both"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.062 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.069 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.069 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250628_070504.069 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"} 20250628_070504.070 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "task_id": null, "instance": {"relationships": [{"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_2_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}}, "instance": {"relationships": [], "id": "bad_policy_3_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "bad_policy_4_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "properties": {}}, "instance": {"relationships": [], "id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"type": "JSON", "config": {"updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor", "policy_updated_ts": "2025-06-28T09:05:03.702Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}, "property": null, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}}}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}, {"type": "cloudify.relationships.depends_on", "target": {"node": {"type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "properties": {}}, "instance": {"relationships": [], "id": "non_policies_node_id", "runtime_properties": {}}}, "type_hierarchy": ["cloudify.relationships.depends_on"]}], "id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "task_target": null, "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}, "task_name": null, "node": {"type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"db_port": "123", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0", "weather": "snow"}}}, "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_version": null, "name": "", "package_name": null, "workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27"}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id"} 20250628_070504.070 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"exe_task": "node_configure", "application_config": {"policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-06-28T07:05:03.702Z", "policy_updated_from_ver": "0"}, "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20250628_070504.070 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250628_070504.070 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250628_070504.074 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 20250628_070504.074 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear