20250705_070503.015 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.016 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.017 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.017 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wMTdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNmE3NjcyMjUtMDIzZS00MDllLWI5OGItZTc3YzBmNDRhZmRiIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.017 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.017Z", "action": "gathered", "update_id": "6a767225-023e-409e-b98b-e77c0f44afdb"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.018 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.017Z", "action": "gathered", "update_id": "6a767225-023e-409e-b98b-e77c0f44afdb"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.018 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.018 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.017Z", "action": "gathered", "update_id": "6a767225-023e-409e-b98b-e77c0f44afdb"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.018 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20250705_070503.019 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_070503.019 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wMTlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlOWVjNzEwNS00YjhjLTQ5NGYtOTEyMC1hMjUzY2I0ZWI3ODkifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250705_070503.019 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.020 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.019Z", "action": "updated", "update_id": "e9ec7105-4b8c-494f-9120-a253cb4eb789"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.020 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.020 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.021 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.019Z", "action": "updated", "update_id": "e9ec7105-4b8c-494f-9120-a253cb4eb789"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.021 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.021 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.021 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wMjFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI1ODk2NDZhOC04MWFjLTQ1ZmItYWY0MS1kYzc2YWYwMGFkZDUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250705_070503.022 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.022 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2025-07-05T07:05:03.021Z", "action": "updated", "update_id": "589646a8-81ac-45fb-af41-dc76af00add5"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.022 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20250705_070503.022 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.022 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.022 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.033 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.033 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.034 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.034 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.034 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20250705_070503.034 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250705_070503.034 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.039 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20250705_070503.039 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.040 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.040 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.040 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.040 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.048 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.049 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.049 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.049 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wNDlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMDA4Mjc0YzgtZjY4OS00ZjM5LThjYjMtZDMyZTNjMjc2MGM5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.050 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.049Z", "action": "gathered", "update_id": "008274c8-f689-4f39-8cb3-d32e3c2760c9"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.050 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.049Z", "action": "gathered", "update_id": "008274c8-f689-4f39-8cb3-d32e3c2760c9"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.050 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.050 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.051 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false} 20250705_070503.052 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.062 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.063 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.063 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.063 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wNjNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDEwMzM0ZGUtNGYwYS00Y2ZiLWFmNDUtZGRkMWMxMTgzYTBmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.064 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.063Z", "action": "gathered", "update_id": "d10334de-4f0a-4cfb-af45-ddd1c1183a0f"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.064 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.063Z", "action": "gathered", "update_id": "d10334de-4f0a-4cfb-af45-ddd1c1183a0f"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.064 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.064 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.063Z", "action": "gathered", "update_id": "d10334de-4f0a-4cfb-af45-ddd1c1183a0f"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.065 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20250705_070503.065 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_070503.065 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wNjVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI3YjkzMzBjOC04YTEyLTQ4MDAtYjZiYy04N2M4YmUyMmJmZWYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250705_070503.066 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.066 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.065Z", "action": "updated", "update_id": "7b9330c8-8a12-4800-b6bc-87c8be22bfef"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.067 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.065Z", "action": "updated", "update_id": "7b9330c8-8a12-4800-b6bc-87c8be22bfef"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.067 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20250705_070503.067 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_070503.067 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.065Z", "action": "updated", "update_id": "7b9330c8-8a12-4800-b6bc-87c8be22bfef"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.068 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20250705_070503.068 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.065Z", "action": "updated", "update_id": "7b9330c8-8a12-4800-b6bc-87c8be22bfef"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.068 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.068 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.088 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.089 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.089 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.089 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wODlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWE1YjU4YTgtZjcyOS00MTNkLTliYzktMWVkZDI1Yzk3NDRhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.090 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.089Z", "action": "gathered", "update_id": "1a5b58a8-f729-413d-9bc9-1edd25c9744a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.090 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.089Z", "action": "gathered", "update_id": "1a5b58a8-f729-413d-9bc9-1edd25c9744a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.090 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.090 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.090 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.091 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.089Z", "action": "gathered", "update_id": "1a5b58a8-f729-413d-9bc9-1edd25c9744a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.091 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.091 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.092 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4wOTJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxMGI0ZmViNy1iOTczLTRhZGMtYThjYy0yYjJlNTQ4ZDc1NDUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_070503.092 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.093 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.092Z", "action": "updated", "update_id": "10b4feb7-b973-4adc-a8cc-2b2e548d7545"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.093 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20250705_070503.093 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.093 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.093 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.094 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true} 20250705_070503.094 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.094 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.094 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.109 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250705_070503.110 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.110 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/"}}] 20250705_070503.110 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.110 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.111 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.111 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.118 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 20250705_070503.118 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.122 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.123 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.123 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.123 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xMjNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYzE0MTJjZTQtMDIxYS00ZWM4LWIzYzUtZWVjMzdhYzlmYmQwIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.124 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.123Z", "action": "gathered", "update_id": "c1412ce4-021a-4ec8-b3c5-eec37ac9fbd0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.124 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.123Z", "action": "gathered", "update_id": "c1412ce4-021a-4ec8-b3c5-eec37ac9fbd0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.124 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.124 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.125 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}] 20250705_070503.125 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.123Z", "action": "gathered", "update_id": "c1412ce4-021a-4ec8-b3c5-eec37ac9fbd0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.125 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON"}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}}, removed_policies: ["<<>>"] 20250705_070503.126 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON"}}} 20250705_070503.126 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}], "duplicate": [], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON"}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "property": null, "type": "JSON"}}]} 20250705_070503.126 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.123Z", "action": "gathered", "update_id": "c1412ce4-021a-4ec8-b3c5-eec37ac9fbd0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.126 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.123Z", "action": "gathered", "update_id": "c1412ce4-021a-4ec8-b3c5-eec37ac9fbd0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.127 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.127 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.127 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.142 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 20250705_070503.142 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.146 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.146 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.147 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.147 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xNDdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOGQzODUwNzYtNWVjMC00NmJjLThhZWUtZDI3MGJhNjMwNDlkIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.147 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.147Z", "action": "gathered", "update_id": "8d385076-5ec0-46bc-8aee-d270ba63049d"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.148 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.147Z", "action": "gathered", "update_id": "8d385076-5ec0-46bc-8aee-d270ba63049d"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.148 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.148 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.147Z", "action": "gathered", "update_id": "8d385076-5ec0-46bc-8aee-d270ba63049d"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.149 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20250705_070503.149 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_070503.149 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xNDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhZjliMWZhZi0xZjFmLTQ5OTYtOTgyYy02MDgxY2E1NjEzZjEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250705_070503.150 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.150 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.149Z", "action": "updated", "update_id": "af9b1faf-1f1f-4996-982c-6081ca5613f1"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.150 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20250705_070503.150 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.149Z", "action": "updated", "update_id": "af9b1faf-1f1f-4996-982c-6081ca5613f1"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.151 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.151 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.165 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.166 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.166 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.167 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xNjZaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOWRkNDQ1MWItZTU3OC00N2U0LWI4YmMtMjY2ZGIyMWRkZGUwIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.167 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.166Z", "action": "gathered", "update_id": "9dd4451b-e578-47e4-b8bc-266db21ddde0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.167 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.166Z", "action": "gathered", "update_id": "9dd4451b-e578-47e4-b8bc-266db21ddde0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.167 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.168 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.166Z", "action": "gathered", "update_id": "9dd4451b-e578-47e4-b8bc-266db21ddde0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.168 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/"}}] 20250705_070503.168 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.169 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.169 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.166Z", "action": "gathered", "update_id": "9dd4451b-e578-47e4-b8bc-266db21ddde0"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.169 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.184 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.185 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.185 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.185 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xODVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjgwNzJjNzgtMGNhNi00ZjgyLTkwNDMtYzIxMDZjOWZlYzI1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.186 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.185Z", "action": "gathered", "update_id": "f8072c78-0ca6-4f82-9043-c2106c9fec25"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.186 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.185Z", "action": "gathered", "update_id": "f8072c78-0ca6-4f82-9043-c2106c9fec25"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.186 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.186 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.186 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.187 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.185Z", "action": "gathered", "update_id": "f8072c78-0ca6-4f82-9043-c2106c9fec25"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.187 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.187 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.188 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4xODdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI5ZjVhNDQyYy1kZDU5LTQ5N2UtOWUzMy1hOTdmNWNhMDRlYmQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_070503.188 INFO MainThread mock-context-logger.policy_update: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.189 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.187Z", "action": "updated", "update_id": "9f5a442c-dd59-497e-9e33-a97f5ca04ebd"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.189 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20250705_070503.189 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.189 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.189 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.189 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true} 20250705_070503.190 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.190 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.190 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.204 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.205 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.205 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.205 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.205 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "service_component_name": "unit_test_scn"} 20250705_070503.205 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250705_070503.205 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.210 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250705_070503.211 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.211 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/"}}] 20250705_070503.211 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.211 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.211 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.212 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.219 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.220 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.220 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.221 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yMjFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjg1MTExNWEtMWYxNS00MzUwLWEyOTgtOGE1OGRjMjg0Njk1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.221 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.221Z", "action": "gathered", "update_id": "6851115a-1f15-4350-a298-8a58dc284695"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.222 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.221Z", "action": "gathered", "update_id": "6851115a-1f15-4350-a298-8a58dc284695"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.222 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.222 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.230 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.230 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20250705_070503.230 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.231 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20250705_070503.231 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.234 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.235 ERROR MainThread mock-context-logger.wrapper: Failed to update the policies unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 316, in wrapper Policies._update_policies(updated_policies, added_policies, removed_policies) TypeError: unbound method monkeyed_update_policies_boom() must be called with Policies instance as first argument (got NoneType instance instead) 20250705_070503.235 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) 20250705_070503.235 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.240 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20250705_070503.240 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.240 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20250705_070503.241 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.241 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.241 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}, "application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.241 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.249 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.250 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.250 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.250 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yNTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMTYwZDFlMTEtZTMxNS00NmMxLWI2ZjYtYzY0NzI2NWRjNTg1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.251 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.250Z", "action": "gathered", "update_id": "160d1e11-e315-46c1-b6f6-c647265dc585"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.251 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.250Z", "action": "gathered", "update_id": "160d1e11-e315-46c1-b6f6-c647265dc585"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.251 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.252 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.250Z", "action": "gathered", "update_id": "160d1e11-e315-46c1-b6f6-c647265dc585"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.252 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20250705_070503.252 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20250705_070503.253 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yNTNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJlYmRhZTU4OS0zOGMyLTRiY2MtODE4NS0yODI3N2MwZGFjNTEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20250705_070503.253 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.253 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.253Z", "action": "updated", "update_id": "ebdae589-38c2-4bcc-8185-28277c0dac51"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.254 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20250705_070503.254 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.254 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.254 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2025-07-05T07:05:03.253Z", "action": "updated", "update_id": "ebdae589-38c2-4bcc-8185-28277c0dac51"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.255 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.255 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.255 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yNTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI4YzE1YzQ4NC01MmRjLTQ5OWYtYTBhZC1kZGQ2YzI1M2RkMzYifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20250705_070503.256 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.256 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2025-07-05T07:05:03.255Z", "action": "updated", "update_id": "8c15c484-52dc-499f-a0ad-ddd6c253dd36"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.256 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_070503.256 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.256 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.257 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.276 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.277 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.277 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.278 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yNzdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZmJiZjk2MjMtMWI2YS00MDA4LTgyMDAtMWI0ZTViODQ1NTJhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.278 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.277Z", "action": "gathered", "update_id": "fbbf9623-1b6a-4008-8200-1b4e5b84552a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.278 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.277Z", "action": "gathered", "update_id": "fbbf9623-1b6a-4008-8200-1b4e5b84552a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.278 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.279 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.279 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.279 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.277Z", "action": "gathered", "update_id": "fbbf9623-1b6a-4008-8200-1b4e5b84552a"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.279 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.280 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.280 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4yODBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiNWE0YmYyZi0wODQwLTQxM2QtODlkNC1mMmUyNTc0ZWI1MTUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicHJvcGVydHkiOiBudWxsLCAidHlwZSI6ICJKU09OIn0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwcm9wZXJ0eSI6IG51bGwsICJ0eXBlIjogIkpTT04ifQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_070503.281 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.281 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.280Z", "action": "updated", "update_id": "b5a4bf2f-0840-413d-89d4-f2e2574eb515"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_070503.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true} 20250705_070503.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.282 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.297 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null} 20250705_070503.297 ERROR MainThread mock-context-logger.wrapper: Failed to set the policies unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead): Traceback (most recent call last): File "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/onap_dcae_dcaepolicy_lib/dcae_policy.py", line 185, in wrapper Policies._set_policies(policies) TypeError: unbound method monkeyed_set_policies_boom() must be called with Policies instance as first argument (got dict instance instead) 20250705_070503.297 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) 20250705_070503.297 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.301 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.302 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.303 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.303 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4zMDNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNTU5ODAwZWEtMzkzYi00MzZhLWJiZDMtY2UxZmEwODI5MWRiIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.303 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.303Z", "action": "gathered", "update_id": "559800ea-393b-436a-bbd3-ce1fa08291db"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.304 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.303Z", "action": "gathered", "update_id": "559800ea-393b-436a-bbd3-ce1fa08291db"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.304 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.304 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.303Z", "action": "gathered", "update_id": "559800ea-393b-436a-bbd3-ce1fa08291db"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.305 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20250705_070503.305 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.305 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.305 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.303Z", "action": "gathered", "update_id": "559800ea-393b-436a-bbd3-ce1fa08291db"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.305 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.319 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250705_070503.320 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.320 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/"}}] 20250705_070503.320 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.320 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.321 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.321 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.329 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.330 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.330 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.330 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4zMzBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDY1ZTQ3MjUtODI3NC00MTRjLTk3YzEtZGFkMzM3MjA0MzBiIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQxMDowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogInNpdCJ9fQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDA4OjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20250705_070503.331 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.330Z", "action": "gathered", "update_id": "465e4725-8274-414c-97c1-dad33720430b"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.331 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.330Z", "action": "gathered", "update_id": "465e4725-8274-414c-97c1-dad33720430b"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20250705_070503.331 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}} 20250705_070503.331 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}] 20250705_070503.331 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20250705_070503.332 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.330Z", "action": "gathered", "update_id": "465e4725-8274-414c-97c1-dad33720430b"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "policyVersion": "2", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.332 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20250705_070503.332 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}} 20250705_070503.333 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNS0wNy0wNVQwNzowNTowMy4zMzJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIyMmY1YmY3MC04ZDJlLTQ1ZTQtOWY5MS00MGMyMzY4MDYxYjQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJwb2xpY3lWZXJzaW9uIjogIjEiLCAidHlwZSI6ICJKU09OIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMDctMDVUMDc6MDU6MDIuOTkyWiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIxIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0ifX0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInBvbGljeVZlcnNpb24iOiAiNCIsICJ0eXBlIjogIkpTT04iLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI1LTA3LTA1VDEwOjA1OjAyLjk5MloiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In19", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiYWEyMCIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0wNy0wNVQwODowNTowMi45OTJaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInByb3BlcnR5IjogbnVsbCwgInR5cGUiOiAiSlNPTiJ9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20250705_070503.333 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.334 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2025-07-05T07:05:03.332Z", "action": "updated", "update_id": "22f5bf70-8d2e-45e4-9f91-40c2368061b4"}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false}}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.334 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20250705_070503.334 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": false} 20250705_070503.334 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.334 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.334 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "policyVersion": "1", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}}, "policy_persistent": true} 20250705_070503.335 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}, "policy_persistent": true} 20250705_070503.335 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "policyVersion": "4", "type": "JSON", "responseAttributes": {}, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}}, "policy_persistent": true} 20250705_070503.335 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20250705_070503.350 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20250705_070503.351 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.351 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/"}}] 20250705_070503.351 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20250705_070503.351 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"} 20250705_070503.352 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-maven-clm-master/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "task_queue": null, "task_target": null, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"weather": "snow", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem"}}}, "workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "blueprint.id": "test_dcae_policy_bp_id", "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"updated_policy_id": "no_policy", "policy_hello": "Lorem", "weather": "snow", "policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T09:05:02.992Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T07:05:02.992Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T08:05:02.992Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T10:05:02.992Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "responseAttributes": {}, "property": null, "type": "JSON"}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_ts": "2025-07-05T11:05:02.992Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "responseAttributes": {}, "property": null, "type": "JSON"}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null} 20250705_070503.352 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear