20250920_031014.280 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.281 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.282 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.282 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMGNkNDE1ZjgtY2QyYS00Zjc4LTlmNDgtNmYwMTRiNDE5YWU4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjI4MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.283 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0cd415f8-cd2a-4f78-9f48-6f014b419ae8", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.282Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0cd415f8-cd2a-4f78-9f48-6f014b419ae8", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.282Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.283 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.284 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0cd415f8-cd2a-4f78-9f48-6f014b419ae8", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.282Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.284 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.284 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.284 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzc0ZTM1ZjYtZjQyMC00NjU5LTk3MDQtMTBlYWIwMTYzODBjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjI4NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwcm9wZXJ0eSI6IG51bGwsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7Im5vbmUiOiBudWxsLCAidW5leHBlY3RlZCI6ICJmb28ifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInByb3BlcnR5IjogbnVsbCwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20250920_031014.285 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.285 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "774e35f6-f420-4659-9704-10eab016380c", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.284Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.285 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": ["damaged config"], "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.286 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.286 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.296 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250920_031014.296 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.296 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.296 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.297 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.297 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.304 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250920_031014.305 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.305 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250920_031014.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.306 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.306 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.314 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.315 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.315 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.315 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTAzNzY4N2YtYzg5MC00MTcyLThiZmEtNDM4OWFjMWQyNTI4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjMxNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.316 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "e037687f-c890-4172-8bfa-4389ac1d2528", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.315Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.316 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "e037687f-c890-4172-8bfa-4389ac1d2528", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.315Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.316 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.316 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.316 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.317 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "e037687f-c890-4172-8bfa-4389ac1d2528", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.315Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.317 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.317 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.318 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDM4NjRhZmYtNjliOC00M2RlLWFjODItNTZkNmMzNWUwYjQxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjMxN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250920_031014.318 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.319 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "43864aff-69b8-43de-ac82-56d6c35e0b41", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.317Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.319 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250920_031014.319 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.319 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.319 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.319 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.320 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.320 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.320 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.336 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250920_031014.337 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.337 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250920_031014.337 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.337 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.337 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.345 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250920_031014.345 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.346 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250920_031014.346 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.346 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.346 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.347 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.353 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.353 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250920_031014.354 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.354 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250920_031014.354 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.358 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 20250920_031014.358 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.361 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.362 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.363 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.363 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDBlN2U5NTEtMzNmNC00NGM5LWIyM2ItODhmNTk4ZGU3MTE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjM2M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.363 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d0e7e951-33f4-44c9-b23b-88f598de7117", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.363Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.364 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d0e7e951-33f4-44c9-b23b-88f598de7117", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.363Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.364 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.364 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d0e7e951-33f4-44c9-b23b-88f598de7117", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.363Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.364 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250920_031014.365 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.365 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.365 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d0e7e951-33f4-44c9-b23b-88f598de7117", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.363Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.365 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.380 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.381 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.381 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.381 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOTFhODA5YmItOWIyZS00MTZjLThlYmEtNTE0M2U1ZTdiOTIwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjM4MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.382 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "91a809bb-9b2e-416c-8eba-5143e5e7b920", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.381Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.382 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "91a809bb-9b2e-416c-8eba-5143e5e7b920", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.381Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.382 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.382 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.390 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 20250920_031014.390 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.394 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.395 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.395 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.396 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNWQ2MGNmM2MtMGM2Mi00MjAwLThkYTMtOTFjYjUwNTlmYTZlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjM5NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.396 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "5d60cf3c-0c62-4200-8da3-91cb5059fa6e", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.395Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.396 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "5d60cf3c-0c62-4200-8da3-91cb5059fa6e", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.395Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.396 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.397 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "5d60cf3c-0c62-4200-8da3-91cb5059fa6e", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.395Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.397 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250920_031014.397 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.397 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.398 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "5d60cf3c-0c62-4200-8da3-91cb5059fa6e", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.395Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.398 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.411 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.412 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.412 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.412 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.412 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20250920_031014.412 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250920_031014.413 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.417 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.417 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250920_031014.417 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) 20250920_031014.417 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.422 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.423 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.423 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.423 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzg2MTk3OTYtZjhmOC00NDY4LWJmOTMtYWRlNmQ0NWUyMmEyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQyM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.424 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "78619796-f8f8-4468-bf93-ade6d45e22a2", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.423Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.424 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "78619796-f8f8-4468-bf93-ade6d45e22a2", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.423Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.424 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.424 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.424 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.424 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.425 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.425 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.425 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.425 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250920_031014.425 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250920_031014.425 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.435 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.436 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.436 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.437 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGY0YWIyYzAtMzRkOC00YjhhLTg2NGEtNjFhZjAzYjQyMGIzIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQzN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.437 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "8f4ab2c0-34d8-4b8a-864a-61af03b420b3", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.437Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.438 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "8f4ab2c0-34d8-4b8a-864a-61af03b420b3", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.437Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.438 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.438 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.438 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.438 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "8f4ab2c0-34d8-4b8a-864a-61af03b420b3", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.437Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.439 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.439 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.439 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNWQ0NDdmMDktYjY0Ni00YWE1LTllOGEtMzJmNGUyMTM4Nzg2IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQzOVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250920_031014.440 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.440 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "5d447f09-b646-4aa5-9e8a-32f4e2138786", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.439Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.440 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.441 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.441 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.457 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250920_031014.457 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.457 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250920_031014.458 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.458 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.458 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.458 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.466 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.467 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.467 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.467 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiN2Q3MGJiNzAtZmIxYi00NjNjLThjNDItMzQ4YTBjMmM0OTQyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQ2N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.468 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "7d70bb70-fb1b-463c-8c42-348a0c2c4942", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.467Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.468 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "7d70bb70-fb1b-463c-8c42-348a0c2c4942", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.467Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.468 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.469 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "7d70bb70-fb1b-463c-8c42-348a0c2c4942", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.467Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.469 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"] 20250920_031014.469 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_031014.470 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNmNmYjg4NzYtYmU1NS00YWJjLTk1NmYtMGE4MGE1ZWJhN2M3IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQ2OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250920_031014.470 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.470 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "6cfb8876-be55-4abc-956f-0a80a5eba7c7", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.469Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.471 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250920_031014.471 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "6cfb8876-be55-4abc-956f-0a80a5eba7c7", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.469Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.471 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.471 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.486 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.487 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.487 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.488 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMGYxMjE4MTMtNDY3MS00ZmE3LWE1NjAtNjY1NGNlZjBkMzM4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQ4N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.488 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0f121813-4671-4fa7-a560-6654cef0d338", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.487Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.488 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0f121813-4671-4fa7-a560-6654cef0d338", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.487Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.488 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.489 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "0f121813-4671-4fa7-a560-6654cef0d338", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.487Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.489 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"] 20250920_031014.490 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_031014.490 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTJhNjk2YTAtZDA3NS00MzY4LTgyOWYtYTVjYTQwMjJlYmI2IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQ5MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250920_031014.490 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.491 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "a2a696a0-d075-4368-829f-a5ca4022ebb6", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.490Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.491 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.491 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.491 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "a2a696a0-d075-4368-829f-a5ca4022ebb6", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.490Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.492 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.492 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.492 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYmFjZTZmNzctNzMyMi00MjFmLThkMDQtMDkxMGU3NWZlYTkzIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjQ5MloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250920_031014.492 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.493 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "bace6f77-7322-421f-8d04-0910e75fea93", "policies_count": 2, "timestamp": "2025-09-20T03:10:14.492Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.493 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250920_031014.493 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.493 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.493 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.513 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.514 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.514 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.514 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTQxOWJkZTYtYjYzNS00MmQ2LWIyMzktYjUwYmE5MzU2ZmUxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjUxNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.515 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "1419bde6-b635-42d6-b239-b50ba9356fe1", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.514Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.515 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "1419bde6-b635-42d6-b239-b50ba9356fe1", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.514Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.515 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.515 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.516 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20250920_031014.516 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "1419bde6-b635-42d6-b239-b50ba9356fe1", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.514Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.517 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20250920_031014.517 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20250920_031014.517 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}], "ignored": [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": [], "unexpected": [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}]} 20250920_031014.517 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "1419bde6-b635-42d6-b239-b50ba9356fe1", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.514Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.518 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "1419bde6-b635-42d6-b239-b50ba9356fe1", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.514Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.518 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.518 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.518 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.534 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.535 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.536 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.536 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzQ1ZDdiN2QtZGIxMy00MDgwLWJkYWEtYzc5NzNlNDBlOWRlIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjUzNloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.536 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "c45d7b7d-db13-4080-bdaa-c7973e40e9de", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.536Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.537 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "c45d7b7d-db13-4080-bdaa-c7973e40e9de", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.536Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.537 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.537 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.537 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.538 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "c45d7b7d-db13-4080-bdaa-c7973e40e9de", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.536Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.538 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.538 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.538 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZjllY2VmMDUtOTUyNi00NDE1LWJkZDYtNDY1NjExYTA2YWFiIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjUzOFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250920_031014.539 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.539 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "f9ecef05-9526-4415-bdd6-465611a06aab", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.538Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.540 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250920_031014.541 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250920_031014.541 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.556 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250920_031014.557 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.557 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250920_031014.557 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.557 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.558 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.558 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.565 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.566 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.567 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.567 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZDk5MTIzMWYtNzM2OS00MGFkLTk3ZTYtNGNiNGQ1NDhjNTcyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjU2N1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.567 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d991231f-7369-40ad-97e6-4cb4d548c572", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.567Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d991231f-7369-40ad-97e6-4cb4d548c572", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.567Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.568 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "d991231f-7369-40ad-97e6-4cb4d548c572", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.567Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.569 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"] 20250920_031014.569 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_031014.569 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODk0ODJlYTEtMDAxMi00MzJlLWFjYzQtMGEzM2ZlNGUyZDNmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjU2OVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250920_031014.570 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.570 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "89482ea1-0012-432e-acc4-0a33fe4e2d3f", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.569Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.570 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}} 20250920_031014.570 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250920_031014.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250920_031014.571 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "89482ea1-0012-432e-acc4-0a33fe4e2d3f", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.569Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.571 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250920_031014.571 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250920_031014.572 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzg5NDRjMGQtOTFjZS00NWEyLWFmNmUtNGQzMmZjMDIwNjk5IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjU3MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDQ6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicHJvcGVydHkiOiBudWxsLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20250920_031014.572 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.572 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policies_event": {"update_id": "c8944c0d-91ce-45a2-af6e-4d32fc020699", "policies_count": 2, "timestamp": "2025-09-20T03:10:14.571Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.573 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250920_031014.573 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250920_031014.573 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250920_031014.573 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.593 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.593 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.593 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.593 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.593 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20250920_031014.594 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250920_031014.594 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.598 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.598 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250920_031014.598 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) 20250920_031014.598 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250920_031014.603 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.604 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250920_031014.604 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.604 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjJmOTJlNTktMzk2YS00NzhlLTg5ZWItNWYzYmI0NzkwYzg4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjYwNFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjIifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wOS0yMFQwNjoxMDoxNC4yNTdaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsfQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInR5cGUiOiAiSlNPTiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDktMjBUMDM6MTA6MTQuMjU3WiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbH0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEuNSJ9LCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA2OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIn0sICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA5LTIwVDA0OjEwOjE0LjI1N1oiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGx9"}}] 20250920_031014.605 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "22f92e59-396a-478e-89eb-5f3bb4790c88", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.604Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.605 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "22f92e59-396a-478e-89eb-5f3bb4790c88", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.604Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.605 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250920_031014.605 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "type": "JSON", "responseAttributes": {}, "policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policies_event": {"update_id": "22f92e59-396a-478e-89eb-5f3bb4790c88", "policies_count": 4, "timestamp": "2025-09-20T03:10:14.604Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.606 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"] 20250920_031014.606 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_031014.606 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYzlkZjBjMTktOTE2Ni00ZjFjLTlmOTctODkzNzhkNDIzZWEwIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI1LTA5LTIwVDAzOjEwOjE0LjYwNloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20250920_031014.607 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.607 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "c9df0c19-9166-4f1c-9f97-89378d423ea0", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.606Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.608 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "c9df0c19-9166-4f1c-9f97-89378d423ea0", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.606Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.608 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"] 20250920_031014.608 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250920_031014.608 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_name": null, "instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "property": null, "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "3", "config": {"policy_updated_to_ver": "3", "policy_updated_ts": "2025-09-20T05:10:14.257Z", "policy_updated_from_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type", "id": "non_policies_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "1", "config": {"policy_updated_to_ver": "1", "policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "2", "config": {"policy_updated_to_ver": "2", "policy_updated_ts": "2025-09-20T04:10:14.257Z", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "4", "config": {"policy_updated_to_ver": "4", "policy_updated_ts": "2025-09-20T06:10:14.257Z", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "property": null, "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigMessage": "Config Retrieved! ", "policyVersion": "5", "config": {"policy_updated_to_ver": "5", "policy_updated_ts": "2025-09-20T07:10:14.257Z", "policy_updated_from_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "property": null, "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "c9df0c19-9166-4f1c-9f97-89378d423ea0", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.606Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "blueprint.id": "test_dcae_policy_bp_id", "workflow_id": null, "operation": {"max_retries": null, "name": null, "retry_number": null}, "task_target": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "weather": "snow", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2025-09-20T03:10:14.257Z"}}, "type": "ms.nodes.type", "id": "test_ms_name"}, "type": "node-instance", "deployment.id": "test_dcae_policy_dpl_id", "task_id": null} 20250920_031014.609 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250920_031014.609 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "c9df0c19-9166-4f1c-9f97-89378d423ea0", "policies_count": 0, "timestamp": "2025-09-20T03:10:14.606Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20250920_031014.609 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2025-09-20T03:10:14.257Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20250920_031014.609 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear