20251011_031007.499 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.500 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.500 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.500 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNGQ3MjkzZDUtYjQzMC00YWZkLTg5YTktMzI2MTZkYTQzMjNmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjUwMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.501 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4d7293d5-b430-4afd-89a9-32616da4323f", "timestamp": "2025-10-11T03:10:07.500Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.501 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4d7293d5-b430-4afd-89a9-32616da4323f", "timestamp": "2025-10-11T03:10:07.500Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.501 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.502 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4d7293d5-b430-4afd-89a9-32616da4323f", "timestamp": "2025-10-11T03:10:07.500Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.502 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251011_031007.502 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.502 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.503 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4d7293d5-b430-4afd-89a9-32616da4323f", "timestamp": "2025-10-11T03:10:07.500Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.503 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.512 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251011_031007.512 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.513 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251011_031007.513 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.513 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.513 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.514 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.521 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.522 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.523 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.523 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDQ1ZWNmMGEtYTY5My00NTQ5LWI4MTMtMWI1MmYzZTUzZjg4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjUyM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.523 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "445ecf0a-a693-4549-b813-1b52f3e53f88", "timestamp": "2025-10-11T03:10:07.523Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.524 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "445ecf0a-a693-4549-b813-1b52f3e53f88", "timestamp": "2025-10-11T03:10:07.523Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.524 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.524 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.524 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20251011_031007.525 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "445ecf0a-a693-4549-b813-1b52f3e53f88", "timestamp": "2025-10-11T03:10:07.523Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.525 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_multi_2.4.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["<<>>"] 20251011_031007.526 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20251011_031007.526 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi_3.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "duplicate": []} 20251011_031007.526 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "445ecf0a-a693-4549-b813-1b52f3e53f88", "timestamp": "2025-10-11T03:10:07.523Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.526 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "445ecf0a-a693-4549-b813-1b52f3e53f88", "timestamp": "2025-10-11T03:10:07.523Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.527 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.527 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.527 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.543 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.543 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) 20251011_031007.543 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) 20251011_031007.543 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.548 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.549 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.549 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.549 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWU4Y2E4MWItZWYxYS00NmQ0LTk5MGMtNDExNTRiNTdmODE5IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjU0OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.550 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ee8ca81b-ef1a-46d4-990c-41154b57f819", "timestamp": "2025-10-11T03:10:07.549Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.550 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "ee8ca81b-ef1a-46d4-990c-41154b57f819", "timestamp": "2025-10-11T03:10:07.549Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.550 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.551 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.560 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 20251011_031007.560 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.563 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.564 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.565 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.565 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDQ5MGU4ZTctYWI0Zi00ZWI3LTk2MGMtMTMxY2JiMGM5NDliIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjU2NVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.565 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4490e8e7-ab4f-4eb7-960c-131cbb0c949b", "timestamp": "2025-10-11T03:10:07.565Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.566 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4490e8e7-ab4f-4eb7-960c-131cbb0c949b", "timestamp": "2025-10-11T03:10:07.565Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.566 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.566 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4490e8e7-ab4f-4eb7-960c-131cbb0c949b", "timestamp": "2025-10-11T03:10:07.565Z", "action": "gathered"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.567 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251011_031007.567 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251011_031007.567 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNDA4MDZmNmYtYjkzNy00ZmI2LWJjNTgtYTcwNWY3ODg1YTRkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjU2N1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251011_031007.568 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.568 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "40806f6f-b937-4fb6-bc58-a705f7885a4d", "timestamp": "2025-10-11T03:10:07.567Z", "action": "updated"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.568 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.569 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.569 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "40806f6f-b937-4fb6-bc58-a705f7885a4d", "timestamp": "2025-10-11T03:10:07.567Z", "action": "updated"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.569 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.569 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.570 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiZmI3ZDhjODMtZjNjZS00NTVjLTk1NGYtNjM2ZWM2MDAwODMzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjU3MFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.570 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.571 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "fb7d8c83-f3ce-455c-954f-636ec6000833", "timestamp": "2025-10-11T03:10:07.570Z", "action": "updated"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251011_031007.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.571 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.571 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.591 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251011_031007.591 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.591 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251011_031007.591 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.592 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.592 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.592 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.599 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.599 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) 20251011_031007.599 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) 20251011_031007.599 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.604 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.605 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.605 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.605 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGY0OTAzN2YtM2JhMC00YjUzLWE1NWYtYzk0NjQ2MTgyMDA1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjYwNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.606 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "8f49037f-3ba0-4b53-a55f-c94646182005", "timestamp": "2025-10-11T03:10:07.605Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.606 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "8f49037f-3ba0-4b53-a55f-c94646182005", "timestamp": "2025-10-11T03:10:07.605Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.606 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.607 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "8f49037f-3ba0-4b53-a55f-c94646182005", "timestamp": "2025-10-11T03:10:07.605Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.607 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}] 20251011_031007.607 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.607 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.608 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "8f49037f-3ba0-4b53-a55f-c94646182005", "timestamp": "2025-10-11T03:10:07.605Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.608 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.622 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.623 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.623 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.624 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmRiNGQ2MjUtOGZjMi00MTI4LWE4MDMtYzVlY2NlM2I3MjQxIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjYyM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.624 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6db4d625-8fc2-4128-a803-c5ecce3b7241", "timestamp": "2025-10-11T03:10:07.623Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.624 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6db4d625-8fc2-4128-a803-c5ecce3b7241", "timestamp": "2025-10-11T03:10:07.623Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.624 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.625 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6db4d625-8fc2-4128-a803-c5ecce3b7241", "timestamp": "2025-10-11T03:10:07.623Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.625 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251011_031007.626 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251011_031007.626 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMjExMTQ5ZjgtNGVlZC00ZGM5LWJiZGQtZDZiYjk1ZTNlOWY0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjYyNloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251011_031007.626 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.627 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "211149f8-4eed-4dc9-bbdd-d6bb95e3e9f4", "timestamp": "2025-10-11T03:10:07.626Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.627 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "211149f8-4eed-4dc9-bbdd-d6bb95e3e9f4", "timestamp": "2025-10-11T03:10:07.626Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.627 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251011_031007.627 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251011_031007.628 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "211149f8-4eed-4dc9-bbdd-d6bb95e3e9f4", "timestamp": "2025-10-11T03:10:07.626Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.628 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_both'] 20251011_031007.628 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "211149f8-4eed-4dc9-bbdd-d6bb95e3e9f4", "timestamp": "2025-10-11T03:10:07.626Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.628 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.629 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.647 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.648 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.648 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.649 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzc2YjUxZjItMTgxOC00YjVmLTk0ODctMGE0MzczMzY1N2IzIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY0OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.649 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c76b51f2-1818-4b5f-9487-0a43733657b3", "timestamp": "2025-10-11T03:10:07.648Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.650 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c76b51f2-1818-4b5f-9487-0a43733657b3", "timestamp": "2025-10-11T03:10:07.648Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.650 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.650 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.650 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.651 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "c76b51f2-1818-4b5f-9487-0a43733657b3", "timestamp": "2025-10-11T03:10:07.648Z", "action": "gathered"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.651 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.651 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.651 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDYyNDA5MWQtY2NiZS00OTc3LTk0YWMtOGZhYjY5NjYxYzA4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY1MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJ1bmV4cGVjdGVkIjogImZvbyIsICJub25lIjogbnVsbH0sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogWyJkYW1hZ2VkIGNvbmZpZyJdLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}] 20251011_031007.652 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.652 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "d624091d-ccbe-4977-94ac-8fab69661c08", "timestamp": "2025-10-11T03:10:07.651Z", "action": "updated"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"unexpected": "foo", "none": null}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": ["damaged config"], "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.653 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.654 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.654 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.670 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.671 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.671 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.671 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjdjYTAyZmMtNGFmOS00NDAyLTk4OWEtZGZjNWY5MTYzNWU3IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY3MVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.672 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "27ca02fc-4af9-4402-989a-dfc5f91635e7", "timestamp": "2025-10-11T03:10:07.671Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.672 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "27ca02fc-4af9-4402-989a-dfc5f91635e7", "timestamp": "2025-10-11T03:10:07.671Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.672 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.673 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.674 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251011_031007.674 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"} 20251011_031007.674 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.683 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 20251011_031007.683 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.687 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.688 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.689 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.689 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiY2YyNDJmMjgtNGFhNS00NjdiLWFiNGEtODM4MzQ5NGU0YWU0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY4OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.689 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cf242f28-4aa5-467b-ab4a-8383494e4ae4", "timestamp": "2025-10-11T03:10:07.689Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.690 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cf242f28-4aa5-467b-ab4a-8383494e4ae4", "timestamp": "2025-10-11T03:10:07.689Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.690 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.690 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "cf242f28-4aa5-467b-ab4a-8383494e4ae4", "timestamp": "2025-10-11T03:10:07.689Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.691 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251011_031007.691 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251011_031007.691 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiNGQ2NDZkZjQtODhjMy00YjgyLWEyNjItYWRhMjU3ZWUxMmNiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY5MVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251011_031007.692 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.692 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "4d646df4-88c3-4b82-a262-ada257ee12cb", "timestamp": "2025-10-11T03:10:07.691Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.693 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.693 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.693 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "4d646df4-88c3-4b82-a262-ada257ee12cb", "timestamp": "2025-10-11T03:10:07.691Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.693 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.694 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.694 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ1cGRhdGVfaWQiOiAiY2MzM2MxMDQtMGYzMi00OWViLWJlNzItNDE1ZjZkNDRjNDRiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjY5NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.694 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.695 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 2, "update_id": "cc33c104-0f32-49eb-be72-415f6d44c44b", "timestamp": "2025-10-11T03:10:07.694Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.695 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251011_031007.695 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.695 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.695 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.716 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.717 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.717 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.717 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWZkNWNmYWEtODc4Ny00NDIyLWEyM2EtMzZiMGYyNWQ4MjBmIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjcxN1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.718 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5fd5cfaa-8787-4422-a23a-36b0f25d820f", "timestamp": "2025-10-11T03:10:07.717Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.718 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5fd5cfaa-8787-4422-a23a-36b0f25d820f", "timestamp": "2025-10-11T03:10:07.717Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.719 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.719 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.719 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.719 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5fd5cfaa-8787-4422-a23a-36b0f25d820f", "timestamp": "2025-10-11T03:10:07.717Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.720 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.720 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.720 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNDRkMTQ3MDQtZGZhMi00M2I3LWE5YjMtYjE0MDU4YjM4ZDI4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjcyMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.721 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.721 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "44d14704-dfa2-43b7-a9b3-b14058b38d28", "timestamp": "2025-10-11T03:10:07.720Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.721 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251011_031007.721 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.722 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.722 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.722 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.722 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.722 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.722 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.737 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.737 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251011_031007.737 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.738 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251011_031007.738 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.743 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.743 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.744 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.745 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTIyNDU1YzktNDJmZS00OTI5LWE0MjYtZTdmOTVhNWMxYTJiIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3Ljc0NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.746 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e22455c9-42fe-4929-a426-e7f95a5c1a2b", "timestamp": "2025-10-11T03:10:07.744Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.746 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e22455c9-42fe-4929-a426-e7f95a5c1a2b", "timestamp": "2025-10-11T03:10:07.744Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.746 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.746 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.747 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "e22455c9-42fe-4929-a426-e7f95a5c1a2b", "timestamp": "2025-10-11T03:10:07.744Z", "action": "gathered"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.747 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.748 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.748 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTAzOWJmMjItMDIwMy00YTNkLTk1NWUtODBiMWVmMjdiMzQ1IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3Ljc0OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.748 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.749 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "5039bf22-0203-4a3d-955e-80b1ef27b345", "timestamp": "2025-10-11T03:10:07.748Z", "action": "updated"}, "execute_operation": "policy_update_not_only_config", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.749 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251011_031007.749 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.749 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.750 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.750 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.750 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.750 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.750 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.769 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.770 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.770 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.770 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.771 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20251011_031007.771 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251011_031007.771 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.778 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251011_031007.779 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.779 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.779 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.780 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.780 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.792 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.794 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.794 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.795 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmVkMWVlMjQtNjcyMS00NmQ1LWE1NDctNTgwMzE4MjA5YjNjIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3Ljc5NFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.795 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "fed1ee24-6721-46d5-a547-580318209b3c", "timestamp": "2025-10-11T03:10:07.794Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.796 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "fed1ee24-6721-46d5-a547-580318209b3c", "timestamp": "2025-10-11T03:10:07.794Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.796 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.797 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "fed1ee24-6721-46d5-a547-580318209b3c", "timestamp": "2025-10-11T03:10:07.794Z", "action": "gathered"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.797 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_multi", "monkeyed.Config_peach_2", "monkeyed.Config_both"] 20251011_031007.798 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251011_031007.798 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ1cGRhdGVfaWQiOiAiMWJkN2ZmMTEtZTYxMy00YjM4LTkwYjAtYTY2MzIzN2NiMTU4IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3Ljc5OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20251011_031007.799 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.799 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "1bd7ff11-e613-4b38-90b0-a663237cb158", "timestamp": "2025-10-11T03:10:07.798Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.799 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_multi', 'monkeyed.Config_peach_2', 'monkeyed.Config_both'] 20251011_031007.800 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 0, "update_id": "1bd7ff11-e613-4b38-90b0-a663237cb158", "timestamp": "2025-10-11T03:10:07.798Z", "action": "updated"}, "execute_operation": "policy_update", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.800 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.800 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.817 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.817 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.817 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.818 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.818 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure"} 20251011_031007.818 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}} 20251011_031007.818 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.826 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.828 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.828 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.828 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmQ0OGQzOTctNTFjZS00NDQ1LTgzNDUtOTVmNWQ2YTY2NzNkIiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjgyOFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTEwLTExVDA0OjEwOjA3LjQ3MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGkuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDY6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.829 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6d48d397-51ce-4445-8345-95f5d6a6673d", "timestamp": "2025-10-11T03:10:07.828Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.830 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6d48d397-51ce-4445-8345-95f5d6a6673d", "timestamp": "2025-10-11T03:10:07.828Z", "action": "gathered"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}} 20251011_031007.830 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}} 20251011_031007.830 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}] 20251011_031007.830 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251011_031007.831 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "6d48d397-51ce-4445-8345-95f5d6a6673d", "timestamp": "2025-10-11T03:10:07.828Z", "action": "gathered"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.831 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}}}}, removed_policies: ["monkeyed.Config_multi"] 20251011_031007.832 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}} 20251011_031007.832 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Key": "unit_test_scn:policies/", "Verb": "delete-tree"}}, {"KV": {"Key": "unit_test_scn:policies/event", "Verb": "set", "Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNGY5YTdmMmEtMWU4Yi00ZTVkLThkMzgtMWE5MGQzOGNhZTg0IiwgInRpbWVzdGFtcCI6ICIyMDI1LTEwLTExVDAzOjEwOjA3LjgzMloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTAtMTFUMDM6MTA6MDcuNDcyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNjoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Verb": "set", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMC0xMVQwNDoxMDowNy40NzJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEifSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuMi54bWwiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20251011_031007.833 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.834 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"}, "monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"}}, "service_component_name": "unit_test_scn", "policies_event": {"policies_count": 4, "update_id": "4f9a7f2a-1e8b-4e5d-8d38-1a90d38cae84", "timestamp": "2025-10-11T03:10:07.832Z", "action": "updated"}, "execute_operation": "policy_update_many_calcs", "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_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_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.834 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251011_031007.834 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi_2.2.xml", "responseAttributes": {}}, "policy_persistent": false, "policy_id": "monkeyed.Config_multi_2"} 20251011_031007.834 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "priority": "aa20", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_peach_2.2.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach_2"} 20251011_031007.835 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.835 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.835 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_peach"} 20251011_031007.835 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}, "policy_persistent": true, "policy_id": "monkeyed.Config_both"} 20251011_031007.836 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.862 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251011_031007.863 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.864 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251011_031007.864 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.864 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.865 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.865 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.878 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251011_031007.879 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.879 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251011_031007.880 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.880 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.881 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.881 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251011_031007.894 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20251011_031007.895 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "delete_node_empty", "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.895 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Key": "delete_node_empty:policies/", "Verb": "delete-tree"}}] 20251011_031007.895 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251011_031007.896 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"} 20251011_031007.896 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"task_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "properties": {"application_config": {"updated_policy_id": "no_policy", "weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "db_port": "123"}}, "type": "ms.nodes.type", "name": "test_ms_name", "id": "test_ms_name"}, "instance": {"runtime_properties": {"policies_event": {}, "service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_hello": "Lorem", "db_port": "123", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0"}, "exe_task": "node_delete"}, "id": "test_ms_id", "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "priority": "1", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "id": "dcae_policy_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "id": "bad_policy_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "id": "dcae_policy_node_name_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_3_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "id": "bad_policy_3_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "bad_policy_4_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "id": "bad_policy_4_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "priority": "2", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_peach.3.xml", "responseAttributes": {}}}, "id": "weird_policy_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {}, "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "id": "weird_policy_5_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "3", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "dolor", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-10-11T05:10:07.472Z", "policy_updated_from_ver": "2"}, "policyName": "monkeyed.Config_multi.3.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "id": "dcae_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "id": "dcae_policies_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "id": "dcae_policies_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "id": "dcae_policies_empty_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "dcae_policies_empty_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {}, "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "id": "dcae_policies_empty_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {}, "id": "non_policies_node_id", "relationships": []}, "node": {"type_hierarchy": ["non.policy.type"], "properties": {}, "type": "non.policy.type", "name": "non_policies_node_name", "id": "non_policies_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "Lorem", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-10-11T03:10:07.472Z", "policy_updated_from_ver": "0"}, "policyName": "monkeyed.Config_both.1.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "id": "dcae_policies_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "ipsum", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-10-11T04:10:07.472Z", "policy_updated_from_ver": "1"}, "policyName": "monkeyed.Config_both.2.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_2_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "id": "dcae_policies_b_2_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "matchingConditions": {"ONAPName": "DCAE", "priority": "1.5", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "sit", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-10-11T06:10:07.472Z", "policy_updated_from_ver": "3"}, "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "id": "dcae_policy_b_node_name"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "5", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "config": {"policy_hello": "amet", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-10-11T07:10:07.472Z", "policy_updated_from_ver": "4"}, "policyName": "monkeyed.Config_both.5.xml", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "id": "dcae_policies_b_5_node_id", "relationships": []}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "id": "dcae_policies_b_5_node_name"}}}]}, "task_target": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "execution_id": "test_dcae_policy_exe_id", "plugin": {"package_name": null, "workdir": null, "package_version": null, "name": "", "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_queue": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20251011_031007.897 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear