20250614_031003.611 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.612 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.612 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.613 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNjEyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjVhYWE5NmItYjU2YS00YzY0LWE1OTctYzgzZjg5MzljMmYwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.613 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.612Z", "policies_count": 4, "update_id": "65aaa96b-b56a-4c64-a597-c83f8939c2f0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.613 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.612Z", "policies_count": 4, "update_id": "65aaa96b-b56a-4c64-a597-c83f8939c2f0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.614 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.614 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.614 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.614 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.612Z", "policies_count": 4, "update_id": "65aaa96b-b56a-4c64-a597-c83f8939c2f0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.615 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.615 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.615 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy42MTVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIxZmIwZmUzZC04ODM3LTQ3MzUtYjQ0ZC03MTI2Y2VmZjk5MzYifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250614_031003.616 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.616 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.615Z", "policies_count": 4, "update_id": "1fb0fe3d-8837-4735-b44d-7126ceff9936"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.616 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250614_031003.616 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.617 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.617 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.617 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.617 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.617 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.617 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.628 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.629 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.629 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.629 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNjI5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTY1ZjViMjctNzM4ZS00MzI3LTk0Y2UtOWE0OWFiMzMxODZhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.630 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.629Z", "policies_count": 4, "update_id": "565f5b27-738e-4327-94ce-9a49ab33186a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.630 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.629Z", "policies_count": 4, "update_id": "565f5b27-738e-4327-94ce-9a49ab33186a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.630 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.630 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.630 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.631 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.629Z", "policies_count": 4, "update_id": "565f5b27-738e-4327-94ce-9a49ab33186a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.631 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.631 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.632 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy42MzJaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIyZTYzOTgzNS04YTMwLTQ1NDYtODY5OC00OTgxNDgzZmQwMmQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250614_031003.632 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.633 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.632Z", "policies_count": 4, "update_id": "2e639835-8a30-4546-8698-4981483fd02d"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.633 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_031003.633 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.633 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.634 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.634 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.634 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.634 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.634 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.650 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.651 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.651 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.651 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNjUxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZDdhMDBkMGUtYzJlMS00MzdiLWIwNGItYjQ2NGMwNmFiODM3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.652 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.651Z", "policies_count": 4, "update_id": "d7a00d0e-c2e1-437b-b04b-b464c06ab837"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.652 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.651Z", "policies_count": 4, "update_id": "d7a00d0e-c2e1-437b-b04b-b464c06ab837"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.652 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.653 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.651Z", "policies_count": 4, "update_id": "d7a00d0e-c2e1-437b-b04b-b464c06ab837"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.653 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250614_031003.653 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.653 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.654 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.651Z", "policies_count": 4, "update_id": "d7a00d0e-c2e1-437b-b04b-b464c06ab837"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.654 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.668 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.669 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.670 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.670 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNjcwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTU4ZDYxNTQtYmMxNC00MjUzLThmOWMtYmIzMDZmMTQ0N2ZmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.670 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.670Z", "policies_count": 4, "update_id": "158d6154-bc14-4253-8f9c-bb306f1447ff"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.671 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.670Z", "policies_count": 4, "update_id": "158d6154-bc14-4253-8f9c-bb306f1447ff"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.671 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.671 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.670Z", "policies_count": 4, "update_id": "158d6154-bc14-4253-8f9c-bb306f1447ff"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.672 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250614_031003.672 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_031003.672 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy42NzJaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJlZjgwMDU3Mi03MDJlLTRiNDgtYjU3MC01MmJlNDhmZmYwZTgifQ=="}}] 20250614_031003.673 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.673 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.672Z", "policies_count": 0, "update_id": "ef800572-702e-4b48-b570-52be48fff0e8"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.674 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20250614_031003.674 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.674 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.674 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.672Z", "policies_count": 0, "update_id": "ef800572-702e-4b48-b570-52be48fff0e8"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.674 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.675 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.675 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy42NzVaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI0MmZjMTU5Mi0yNzMyLTQ0Y2UtOGMyOS1mZWRlMzc0NDM1YjMifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250614_031003.675 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.676 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.675Z", "policies_count": 2, "update_id": "42fc1592-2732-44ce-8c29-fede374435b3"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.676 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_031003.676 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.676 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.677 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.695 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.695 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) 20250614_031003.696 INFO MainThread mock-context-logger.test_exception_on_gather: monkeyed_set_policies_boom: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250614_031003.696 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.700 INFO MainThread mock-context-logger.test_wrong_ctx_node_configure: cloudify.relationships.depends_on not a node boom: can only invoke gather_policies_to_node on node 20250614_031003.700 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.704 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.705 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.705 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.705 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNzA1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzI4MGVjYTEtNTVhYi00ODI0LTgwYTEtZDRjNjUyYjdiYjk1In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.706 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.705Z", "policies_count": 4, "update_id": "3280eca1-55ab-4824-80a1-d4c652b7bb95"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.706 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.705Z", "policies_count": 4, "update_id": "3280eca1-55ab-4824-80a1-d4c652b7bb95"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.706 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.706 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.707 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.707 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.705Z", "policies_count": 4, "update_id": "3280eca1-55ab-4824-80a1-d4c652b7bb95"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.707 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.708 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.708 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy43MDhaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI2MTBlN2NhMS1jYjVjLTQzYmMtYTYxOC01NDYyMGI4N2FkMmIifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250614_031003.708 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.709 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.708Z", "policies_count": 4, "update_id": "610e7ca1-cb5c-43bc-a618-54620b87ad2b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.709 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250614_031003.709 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.709 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.710 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.710 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.710 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.710 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.710 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.726 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.727 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.727 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.728 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNzI4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZmQyYmRhMjctNDU4NS00YWIyLTk1ZWEtMTE2ZmUwNzg2MjdmIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.728 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.728Z", "policies_count": 4, "update_id": "fd2bda27-4585-4ab2-95ea-116fe078627f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.728 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.728Z", "policies_count": 4, "update_id": "fd2bda27-4585-4ab2-95ea-116fe078627f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.729 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.729 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.729 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.729 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.728Z", "policies_count": 4, "update_id": "fd2bda27-4585-4ab2-95ea-116fe078627f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.730 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.730 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.730 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy43MzBaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICIwMTFkYzNlYi1jMTkyLTRmYTctYjVmOS00OGUxNTUyYWNjMjAifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJ0eXBlIjogIkpTT04ifQ=="}}] 20250614_031003.731 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.731 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.730Z", "policies_count": 4, "update_id": "011dc3eb-c192-4fa7-b5f9-48e1552acc20"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.731 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.732 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.733 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.748 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.749 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.749 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.750 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNzQ5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGI0MTVlMjgtMTY4OC00MDEzLWE1OTMtZDU1MTNjODBjYTY4In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.750 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.749Z", "policies_count": 4, "update_id": "8b415e28-1688-4013-a593-d5513c80ca68"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.750 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.749Z", "policies_count": 4, "update_id": "8b415e28-1688-4013-a593-d5513c80ca68"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.751 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.751 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.749Z", "policies_count": 4, "update_id": "8b415e28-1688-4013-a593-d5513c80ca68"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.751 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250614_031003.751 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.752 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.752 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.749Z", "policies_count": 4, "update_id": "8b415e28-1688-4013-a593-d5513c80ca68"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.752 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.765 INFO MainThread mock-context-logger.test_wrong_ctx_policy_update: cloudify.relationships.depends_on not a node boom: can only invoke update_policies_on_node on node 20250614_031003.766 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.770 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.771 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.771 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.771 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNzcxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2VjMDQxMGYtNzg1Yi00OTI5LTg3ZTAtYjRiNjhhNTA5MjllIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.772 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.771Z", "policies_count": 4, "update_id": "7ec0410f-785b-4929-87e0-b4b68a50929e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.772 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.771Z", "policies_count": 4, "update_id": "7ec0410f-785b-4929-87e0-b4b68a50929e"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.772 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.772 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.782 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.783 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.783 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.783 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuNzgzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTQ1YTEwZWMtNDgyYS00YmQ3LThiNTQtMjcyNGQ5ZGFjYzkwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.784 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.783Z", "policies_count": 4, "update_id": "545a10ec-482a-4bd7-8b54-2724d9dacc90"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.784 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.783Z", "policies_count": 4, "update_id": "545a10ec-482a-4bd7-8b54-2724d9dacc90"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.784 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.785 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.783Z", "policies_count": 4, "update_id": "545a10ec-482a-4bd7-8b54-2724d9dacc90"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.785 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250614_031003.785 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_031003.786 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy43ODZaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJjYjhiNGZiMS1mZmViLTRlZDUtOTI2ZC1jMzYxMjExZGIzY2EifQ=="}}] 20250614_031003.786 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.786 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.786Z", "policies_count": 0, "update_id": "cb8b4fb1-ffeb-4ed5-926d-c361211db3ca"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.787 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20250614_031003.787 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250614_031003.787 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.786Z", "policies_count": 0, "update_id": "cb8b4fb1-ffeb-4ed5-926d-c361211db3ca"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.787 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250614_031003.788 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20250614_031003.788 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy43ODhaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI2NDFhNDg3My0zMGNkLTQ2NDAtYTkxYy04YzhhYTA0MmY5MzkifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNDoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20250614_031003.788 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.789 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.788Z", "policies_count": 2, "update_id": "641a4873-30cd-4640-a91c-8c8aa042f939"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250614_031003.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20250614_031003.789 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.790 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.808 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250614_031003.809 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.809 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250614_031003.809 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.809 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.810 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.810 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.818 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.819 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.819 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.819 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuODE5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDgwYzMyZGYtODY5Ny00YmY5LThmMmMtM2YyYTZiZmJjYzg3In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.820 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.819Z", "policies_count": 4, "update_id": "080c32df-8697-4bf9-8f2c-3f2a6bfbcc87"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.820 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.819Z", "policies_count": 4, "update_id": "080c32df-8697-4bf9-8f2c-3f2a6bfbcc87"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.820 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.821 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.819Z", "policies_count": 4, "update_id": "080c32df-8697-4bf9-8f2c-3f2a6bfbcc87"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.821 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250614_031003.821 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_031003.821 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy44MjFaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI5MzY5NzUzZi0xNzQ4LTQzYzQtODA3OC1jY2FjM2JiZjA2MDkifQ=="}}] 20250614_031003.822 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.822 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.821Z", "policies_count": 0, "update_id": "9369753f-1748-43c4-8078-ccac3bbf0609"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.822 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250614_031003.823 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.821Z", "policies_count": 0, "update_id": "9369753f-1748-43c4-8078-ccac3bbf0609"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.823 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.823 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.838 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.839 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.839 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.839 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuODM5WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYmEyM2E2MDktZTE5My00YzZmLWFhYzQtZmMxNWE5M2ZkNWJlIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.840 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.839Z", "policies_count": 4, "update_id": "ba23a609-e193-4c6f-aac4-fc15a93fd5be"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.840 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.839Z", "policies_count": 4, "update_id": "ba23a609-e193-4c6f-aac4-fc15a93fd5be"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.840 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.840 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20250614_031003.841 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250614_031003.842 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20250614_031003.842 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.852 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250614_031003.852 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.852 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250614_031003.853 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.853 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.853 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.853 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.861 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.862 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.862 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.862 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuODYyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTcxM2NhY2UtMDA2Zi00NGEwLWJhMWQtODg4ODY4YjkyZDFjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.864 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.862Z", "policies_count": 4, "update_id": "5713cace-006f-44a0-ba1d-888868b92d1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.864 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.862Z", "policies_count": 4, "update_id": "5713cace-006f-44a0-ba1d-888868b92d1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.864 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.865 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.865 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}] 20250614_031003.865 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.862Z", "policies_count": 4, "update_id": "5713cace-006f-44a0-ba1d-888868b92d1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.866 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20250614_031003.866 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}} 20250614_031003.866 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_peach"}]} 20250614_031003.866 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.862Z", "policies_count": 4, "update_id": "5713cace-006f-44a0-ba1d-888868b92d1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.867 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.862Z", "policies_count": 4, "update_id": "5713cace-006f-44a0-ba1d-888868b92d1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.867 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.867 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.867 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.882 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.882 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.882 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.883 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.883 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250614_031003.883 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250614_031003.883 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.888 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250614_031003.888 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.889 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250614_031003.889 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.889 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.889 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.889 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.896 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.896 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) 20250614_031003.896 INFO MainThread mock-context-logger.test_exception_on_update: monkeyed_update_policies_boom: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250614_031003.897 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.900 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.900 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.900 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.901 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.901 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20250614_031003.901 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250614_031003.901 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.906 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250614_031003.906 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.907 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.907 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.907 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.907 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.915 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250614_031003.916 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.916 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250614_031003.916 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.916 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.917 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.917 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.923 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.923 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250614_031003.924 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.924 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250614_031003.924 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.929 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.930 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.930 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.931 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjUtMDYtMTRUMDM6MTA6MDMuOTMwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjY1ODIxN2EtOWI0OC00MjM1LWE2OTUtZmVlNTQwM2Y2MjIwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIyIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwNjoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy41ODdaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxLjUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA2LTE0VDA2OjEwOjAzLjU4N1oiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDYtMTRUMDQ6MTA6MDMuNTg3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9"}}] 20250614_031003.931 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.930Z", "policies_count": 4, "update_id": "2658217a-9b48-4235-a695-fee5403f6220"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.931 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.930Z", "policies_count": 4, "update_id": "2658217a-9b48-4235-a695-fee5403f6220"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.931 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20250614_031003.932 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "gathered", "timestamp": "2025-06-14T03:10:03.930Z", "policies_count": 4, "update_id": "2658217a-9b48-4235-a695-fee5403f6220"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "responseAttributes": {}, "property": null, "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.932 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250614_031003.933 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_031003.933 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNi0xNFQwMzoxMDowMy45MzNaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI4NWQyNzI4Ny00NTQwLTQ5OWEtYWZlYi0zMDBhMjI1YTAyOGUifQ=="}}] 20250614_031003.933 INFO MainThread mock-context-logger.policy_update: app_config {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.934 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.933Z", "policies_count": 0, "update_id": "85d27287-4540-499a-afeb-300a225a028e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.934 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.933Z", "policies_count": 0, "update_id": "85d27287-4540-499a-afeb-300a225a028e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.934 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20250614_031003.935 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250614_031003.935 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"runtime_properties": {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.933Z", "policies_count": 0, "update_id": "85d27287-4540-499a-afeb-300a225a028e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.935 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20250614_031003.935 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "policies_event": {"action": "updated", "timestamp": "2025-06-14T03:10:03.933Z", "policies_count": 0, "update_id": "85d27287-4540-499a-afeb-300a225a028e"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}} 20250614_031003.936 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.936 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250614_031003.954 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20250614_031003.955 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.955 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20250614_031003.955 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250614_031003.955 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"} 20250614_031003.956 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"runtime_properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "db_port": "123"}, "service_component_name": "unit_test_scn", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_peach"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2025-06-14T05:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_multi"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2025-06-14T04:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2025-06-14T06:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "type": "JSON"}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2025-06-14T07:10:03.587Z", "updated_policy_id": "monkeyed.Config_both"}, "responseAttributes": {}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "type": "JSON"}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "type": "node-instance", "node": {"properties": {"application_config": {"weather": "snow", "policy_updated_from_ver": "0", "policy_updated_ts": "2025-06-14T03:10:03.587Z", "policy_hello": "Lorem", "policy_updated_to_ver": "1", "db_port": "123", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "task_name": null, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_name": null, "workdir": null, "name": ""}, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "task_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}} 20250614_031003.956 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear